package com.bootdo.collection.dao;
import com.bootdo.collection.domain.PictureSetDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PictureSetDao {
    List<PictureSetDO> list(Map<String,Object> map);
    int total(Map<String,Object> map);
    PictureSetDO getPictureSetDOById(int picturSetId);
    int updateCount(PictureSetDO pictureSetDO);
    List<PictureSetDO> getListByTitle(Map<String,Object> map);
    int getTotalByTitle(Map<String,Object> map);
    String getUploadStationName(int pictureSetId);
    int updateUploadStationName(@Param("uploadStationName") String uploadStationName, @Param("pictureSetId") int pictureSetId);
    int fuzzyQueryTotal(Map<String,Object> map);
    List<PictureSetDO> fuzzyQuery(Map<String,Object> map);
    int getByTitle(String title);
    int add(PictureSetDO pictureSetDO);

}
